import App from './App'
import uviewPlus from 'uview-plus'
import {
	createSSRApp
} from 'vue'

createSSRApp.prototype.$onLaunched = new Promise(resolve => createSSRApp.prototype.$isResolve = resolve)
export function createApp() {
	const app = createSSRApp(App)
	app.use(uviewPlus)
	return {
		app
	}
}